﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;

namespace GU.WebERP.Core.AjaxFx
{
    /// <summary>
    /// 用于 Ajax 调用的函数信息
    /// </summary>
    public class AjaxFxMethodInfo
    {
        /// <summary>
        /// 方法编码
        /// </summary>
        public string Code
        {
            get;
            set;
        }

        /// <summary>
        /// 方法名称
        /// </summary>
        public string Name
        {
            get;
            set;
        }

        /// <summary>
        /// 描述
        /// </summary>
        public string Description
        {
            get;
            set;
        }

        /// <summary>
        /// 是否需要 Session
        /// </summary>
        public bool MustSession
        {
            get;
            set;
        }

        /// <summary>
        /// 是否保存调用日志
        /// </summary>
        public bool Log
        {
            get;
            set;
        }

        /// <summary>
        /// 方法
        /// </summary>
        internal MethodInfo Method
        {
            get;
            set;
        }
    }
}
